feat: migrate to OAuth 2.0 auth and rename client to PhenomlClient#99
Merged
gavinsharp merged 7 commits intomainfrom Mar 4, 2026
Merged
feat: migrate to OAuth 2.0 auth and rename client to PhenomlClient#99gavinsharp merged 7 commits intomainfrom
gavinsharp merged 7 commits intomainfrom
Conversation
Unable to analyze changes with AI, incrementing PATCH version.
Update version from 8.3.1 to 9.0.0 across build.gradle, ClientOptions.java, and changelog.md to reflect the breaking changes in this release (OAuth 2.0 auth migration and client class renames). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add a Migration Guide section to the 9.0.0 changelog with code examples showing how to update authentication and imports from the old PhenoMLClient to the new PhenomlClient with OAuth 2.0 client credentials. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major version bump with breaking changes to authentication and client naming.
clientId()/clientSecret()(defaults toPHENOML_CLIENT_ID/PHENOML_CLIENT_SECRETenv vars) with automatic token management viaOAuthTokenSupplier.PhenoML→PhenomlClient,AsyncPhenoML→AsyncPhenomlClient; builders renamed correspondingly.Client.javaandAsyncClient.javadeleted; Fern-generated clients now have built-in OAuth./v2/auth/tokenOAuth 2.0 client credentials endpoint.🌿 Generated with Fern